﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ZoomControl_ZoomControl : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public string ImageN(Object image) {
        return image.ToString().Remove(0, 2);
    }
    protected void btnChoseImg_PreRender(object sender, EventArgs e)
    {
        Image img = (Image)sender;
        img.Attributes.Add("onmouseover", "nam('"+img.ImageUrl.Remove(0,2)+"')");
        img.Attributes.Add("onclick", "#");
        
    }
}